#pragma once
#include <nice2d/component.h>

class Fps final : public Component
{
public:
    Fps();
    ~Fps();
public:
    float getFps()const;
    void update(float deltaTime) override;
private:
    std::unique_ptr<class FpsData> data;
};
